<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;


?>

<div class="customer-check-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
        'layout' => 'inline',
    ]); ?>

    <?php echo $form->field($model, 'passport')->textInput(['placeholder' => '护照号码']) ?>
    <?php echo $form->field($model, 'name')->textInput(['placeholder' => '姓名']) ?>
    <?php echo $form->field($model, 'group')->textInput(['placeholder' => '团号']) ?>
    <?php echo $form->field($model, 'passport_check')->dropdownList(Yii::$app->params['passport_check'], ['prompt'=>'选择护照审核']) ?>
    <?php echo $form->field($model, 'status')->dropdownList(Yii::$app->params['status'], ['prompt'=>'选择状态']) ?>

    <div class="form-group">
        <?= Html::submitButton('查询', ['class' => 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
